package com.szrt.javaweb.oa.employee.dao;

import java.util.List;
import java.util.Map;

import com.szrt.javaweb.oa.employee.entity.EmployeeEntity;

public interface EmployeeDao {
	
	/**
	 * 验证登录是否成功
	 * @param entity
	 * @return 1表示登录成功  0表示失败
	 */
	int loginCheck(EmployeeEntity entity);

	List<EmployeeEntity> findAll();

	
	List<EmployeeEntity> findAllPage(Map<String, Integer> fenye);
	
	int counterEmployee();

}
